#pragma once


class CMUTBoundingBox{
public:
	LPDIRECT3DVERTEXBUFFER9 vb;
	LPDIRECT3DINDEXBUFFER9 ib;
	D3DXVECTOR3 minPos, maxPos;
	CMUTBoundingBox() : vb(0) {}
	HRESULT Create();
	bool InsideFrustum( D3DXPLANE* p );
	void SetupBounding();
	void Render();
	void Release();
};